package com.dt.global.entitys.bo;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TWebClicks entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_WEB_CLICKS")
public class TWebClicks implements java.io.Serializable {

	// Fields

	private String clicksId;
	private String pId;
	private String nId;
	private String dataTime;
	private String yl1;
	private String yl2;
	private String ip;

	// Constructors
	@Column(name = "IP", length = 50)
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	/** default constructor */
	public TWebClicks() {
	}

	/** minimal constructor */
	public TWebClicks(String clicksId) {
		this.clicksId = clicksId;
	}

	/** full constructor */
	public TWebClicks(String clicksId, String pId, String nId, String dataTime, String yl1, String yl2, String yl3) {
		this.clicksId = clicksId;
		this.pId = pId;
		this.nId = nId;
		this.dataTime = dataTime;
		this.yl1 = yl1;
		this.yl2 = yl2;
		this.ip = yl3;
	}

	// Property accessors
	@Id
	@Column(name = "CLICKS_ID", unique = true, nullable = false, length = 50)
	public String getClicksId() {
		return this.clicksId;
	}

	public void setClicksId(String clicksId) {
		this.clicksId = clicksId;
	}

	@Column(name = "PID", length = 50)
	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}
	@Column(name = "NID", length = 50)
	public String getnId() {
		return nId;
	}

	public void setnId(String nId) {
		this.nId = nId;
	}

	@Column(name = "DATA_TIME", length = 50)
	public String getDataTime() {
		return this.dataTime;
	}

	public void setDataTime(String dataTime) {
		this.dataTime = dataTime;
	}

	@Column(name = "YL1", length = 50)
	public String getYl1() {
		return this.yl1;
	}

	public void setYl1(String yl1) {
		this.yl1 = yl1;
	}

	@Column(name = "YL2", length = 50)
	public String getYl2() {
		return this.yl2;
	}

	public void setYl2(String yl2) {
		this.yl2 = yl2;
	}


}